﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExchangeClient.ESB.Model
{
    public class TaskUserListItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string userId { get; set; }
        /// <summary>
        /// 熊伟
        /// </summary>
        public string userName { get; set; }
        /// <summary>
        /// 资深系统开发工程师
        /// </summary>
        public string mainPostName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mainPostCode { get; set; }
        /// <summary>
        /// 上海宝原体育用品商贸有限公司广州分公司
        /// </summary>
        public string companyName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rootDeptCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string companyCode { get; set; }
        /// <summary>
        /// 总部资讯部
        /// </summary>
        public string rootDeptName { get; set; }
    }

    public class OldUserList
    {
        /// <summary>
        /// 
        /// </summary>
        public string userId { get; set; }
        /// <summary>
        /// 熊伟
        /// </summary>
        public string userName { get; set; }
        /// <summary>
        /// 资深系统开发工程师
        /// </summary>
        public string mainPostName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mainPostCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string companyCode { get; set; }
        /// <summary>
        /// 上海宝原体育用品商贸有限公司广州分公司
        /// </summary>
        public string companyName { get; set; }
        /// <summary>
        /// 总部资讯部
        /// </summary>
        public string rootDeptName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rootDeptCode { get; set; }
    }

    public class TaskAgentUserListItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string userId { get; set; }
        /// <summary>
        /// 熊伟
        /// </summary>
        public string userName { get; set; }
        /// <summary>
        /// 资深系统开发工程师
        /// </summary>
        public string mainPostName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mainPostCode { get; set; }
        /// <summary>
        /// 总部资讯部
        /// </summary>
        public string rootDeptName { get; set; }
        /// <summary>
        /// 上海宝原体育用品商贸有限公司广州分公司
        /// </summary>
        public string companyName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string companyCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rootDeptCode { get; set; }
    }

    public class ResultItem
    {
        /// <summary>
        /// 主管审核
        /// </summary>
        public string taskName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string taskDefKey { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string userId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string procInstId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int completedType { get; set; }
        /// <summary>
        /// 熊伟
        /// </summary>
        public string userName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string taskId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<TaskUserListItem> taskUserList { get; set; }
        /// <summary>
        /// 同意
        /// </summary>
        public string completedTypeName { get; set; }
        /// <summary>
        /// 何华福
        /// </summary>
        public string oldUserName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string oldUserId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OldUserList oldUserList { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<TaskAgentUserListItem> taskAgentUserList { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string createDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string isAgent { get; set; }
        /// <summary>
        /// 名记万空解分着共况文下得状区展取保。
        /// </summary>
        public string suggestion { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int state { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double seq { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string serialCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string serialFileName { get; set; }
        /// <summary>
        /// 丁霞
        /// </summary>
        public string agentUserName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string agentUserId { get; set; }
    }

    public class AuditLog
    {
        /// <summary>
        /// 
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 操作成功
        /// </summary>
        public string message { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int totalTimes { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<ResultItem> result { get; set; }
    }
}
